Fixed javascript to do 10 pixels from bottom