set bottom margin depending on display screen size