changed padding so activity is not outside the borders