jQuery extended
first version of in & out working