slider functions on small screen showing 1 project