Give all the viewport width for details view if viewport less than 500px