added class for top distance in media queries