Accepts a method for 'position' parameter that allows for custom positionning