add or remove top-margin with classes