Changed to incorporate foundation 4 and visibility for small devices