Update helper.getContentTop for two scenarios