Added js+sliding box function