i understand your question... but u have something wrong.... you have tried to modifiy the original version for a scroll version.... you need to make those steps but forward....
this thing is.. a original feature from osclass will not chage the way you already told it to be show.... .... so... you tried do chance the $$ view ... do the same, but in backward because it´s not about template... it´s about function.php that you have changed before..
i´ts nor about template... you have change something on osclass original features, so you need to put it back