Improved settings functionality

Added media queries and jQuery logic to settings toggle