added toogling table function
hide and show table depends on window size
fixed minor errors
made consistencty with each pages