padding check for scrollBottom event