add responsive table function