Stellar js

Stellar js

Hello!
Im using stellar js  http://markdalgleish.com/projects/stellar.js/docs/

i want that an object when scroll vertically the object move horizontally, i found this 

but this code put all elements in absolut position to left whithout the apple class  and cant control the horizontall move 

i know that the problem of other absolut element are for this

  1. 'left': $el.hasClass('apple') ? originalTop - newTop : 0
but how i fix that and how i can controll the horizontal move

I want that elemnts whit a class in particular when i scroll down the element move left and do not move others.

i dont understand how to write position property plugin. Sorry for my english im grateful if someone can help me whit this