padding fix for smartphones