minimalistic mobile implementation of some jQuery methods